package com.ross.mode.impl;

import com.ross.mode.builder.Builder;
import com.ross.mode.entity.Bike;

/**
 * @version 1.0.0
 * @className: OfoBuilder
 * @description:
 * @author: zhangjunfa
 * @date: 2023/4/3 10:16
 */
public class OfoBuilder extends Builder {
    @Override
    protected void buildFrame() {
        bike.setName("铝合金车架");
    }

    @Override
    protected void buildSeat() {
        bike.setSeat("橡胶");
    }

    @Override
    protected Bike createBike() {
        return bike;
    }
}
